package com.zofer.study.strategy.ifelse;

public class MoreFiveHundred implements Discount{

    public double discount(double amount) {
        System.out.println("大于500,小于等于1000,,打7折");
        return amount * 0.7;
    }
}
